﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title>Error - PdfViewer.NET</title>
    <style type="text/css">
    * { margin: 0px; padding: 0px; }
    body, p, h1, h2, h3, td, th { font-family: Arial, Helvetica, sans-serif; }
    body, p, td, th { font-size: 12px; }
    h1 { font-size: 140%; margin-top: 10px; }
    h2 { font-size: 120%; margin-top: 10px; }
    h3 { font-size: 100%; margin-top: 10px; }
    p { margin-bottom: 3px; }
    body { margin: 10px 20px; }
    ul li { margin-left: 15px; }
    .content { max-width: 800px; min-width: 400px; }
    .error { border: 2px solid #ff8888; padding: 5px; margin: 5px 0px; background-color: #ffeeee; color: #990000; }
    .error h1 { margin-top: 0px; }
    .note { border: 1px solid #ffee00; padding: 6px; margin: 5px 0px; background-color: #ffffee; color: #aa8800; }
    .code { font-family: Courier New, Courier, monospace; }
    p.code { white-space: pre; border: 1px solid #999999; background-color: #eeeeee; padding: 6px; }
    #tips { margin-left: 20px; }
    #tips h2 { margin-left: -20px; }
    </style>
</head>
<body>
<div class="content">
<div class="error">
   <h1>A fatal error has occured.</h1>
   <p><strong>##error##</strong></p>
   <p>The application is not running as it should. This could be caused by a number of things. If this is the first time you've started this application then please check the requirements listed below. If that doesn&#39;t help, 
      please contact TallComponents support (<a href="mailto:support@tallcomponents.com">support@tallcomponents.com</a>).</p>
</div>
<div id="tips">
   <h2>Requirements</h2>
   <h3>Microsoft ASP.NET 2.0 or higher</h3>
   <p>This sample website was build to run on any webserver that supports <strong>Microsoft ASP.NET 2.0 or higher</strong>. You can use either IIS or the build-in test server in Visual Studio 2005 or 2008.</p>
   <h3>Microsoft ASP.NET Ajax</h3>
   <p>TallComponents PDFViewer requires the <span class="code">System.Web.Extensions</span> assembly. This is included with Microsoft .NET version 3.5 and newer.<br />
   To use the PDFViewer with ASP.NET 2.0 you should either install ASP.NET AJAX 1.0 or copy the file <span class="code">System.Web.Extensions.dll</span> into the /bin folder in this site.</p>
   <p>ASP.NET Ajax 1.0 is available as a <a href="http://www.microsoft.com/downloads/details.aspx?FamilyID=ca9d90fa-e8c9-42e3-aa19-08e2c027f5d6">free download</a> from Microsoft.</p>
   <div class="note">
   When deploying an application to a shared hosting provider or production server running Microsoft .NET 2.0 you may need to include the <span class="code">System.Web.Extensions</span> assembly with the upload. 
   </div>
   
   <h2>Disabling this error message</h2>
   <p>This message is included to help you resolve problems due to missing requirements. If you're sure the problem is caused by something else you should disable this error message to get the default ASP.NET error message containing exception details. 
      To do so, please remove the <span class="code">Application_Error</span> method from <span class="code">Global.asax</span> or remove 
      <span class="code">Global.asax</span> entirely.<br />
   </p>
</div>
</body>
</html>
